package top.jle.wx.proxy.feign;


import com.alibaba.fastjson2.JSONObject;

public class ResultCheckUtil {

    public static boolean check(JSONObject result){
        if(result==null || result.isEmpty()){
            return false;
        }else {
            return !result.containsKey("errcode") || "0".equals(result.getString("errcode"));
        }
    }
}
